var http = require('http')
var str = require('../node_modules/doc/config')
var tools = require('Tool')
var foo = require('foo')
var sd = require('silly-datetime');

console.log(tools.add(4,8))
console.log(foo)
console.log(sd.format(new Date(), 'YYYY-MM-DD HH:mm'))


var app = http.createServer(function (req,res) {

    res.writeHead(200,{"Content-Type":"text/html;charset='utf-8'"})

    res.write('str---222'+str.str)

    res.end

})

app.listen(8008)
